<div data-hook="admin_country_form_fields">
  <%= f.field_container :name, class: ['form-group'], 'data-hook' => 'name' do %>
    <%= f.label :name, Spree.t(:name) %>
    <%= f.text_field :name, class: 'form-control' %>
    <%= f.error_message_on :name %>
  <% end %>

  <%= f.field_container :iso_name, class: ['form-group'], 'data-hook' => 'iso_name' do %>
    <%= f.label :iso_name, Spree.t(:iso_name) %>
    <%= f.text_field :iso_name, class: 'form-control' %>
    <%= f.error_message_on :iso_name %>
  <% end %>

  <%= f.field_container :iso, class: ['form-group'], 'data-hook' => 'iso' do %>
    <%= f.label :iso, Spree.t(:iso) %>
    <%= f.text_field :iso, class: 'form-control' %>
    <%= f.error_message_on :iso %>
  <% end %>

  <%= f.field_container :iso3, class: ['form-group'], 'data-hook' => 'iso3' do %>
    <%= f.label :iso3, Spree.t(:iso3) %>
    <%= f.text_field :iso3, class: 'form-control' %>
    <%= f.error_message_on :iso3 %>
  <% end %>

  <div data-hook="states_required" class="form-group checkbox">
    <%= f.check_box :states_required %>
    <%= f.label :states_required, Spree.t(:states_required) %>
    <%= f.error_message_on :states_required %>
  </div>

  <div data-hook="zipcode_required" class="form-group checkbox">
    <%= f.check_box :zipcode_required %>
    <%= f.label :zipcode_required, Spree.t(:zipcode_required) %>
    <%= f.error_message_on :zipcode_required %>
  </div>
</div>
